/**
 * OnlineInfo.java 1.0 2007-5-6 下午06:01:47,创建 by yangfan
 */


package org.in4j.bbs.model;

import java.sql.Timestamp;

/**
 *
 * @author yangfan
 * @version 1.0 2007-5-6 下午06:01:47,创建
 */
public class OnlineInfo
{
	private User user;
	private String ip;
	private Timestamp loginTime;

	public OnlineInfo()
	{
		super();
	}

	public OnlineInfo(User user, String ip, Timestamp loginTime)
	{
		this.user = user;
		this.ip = ip;
		this.loginTime = loginTime;
	}

	public String getIp()
	{
		return ip;
	}

	public void setIp(String ip)
	{
		this.ip = ip;
	}

	public Timestamp getLoginTime()
	{
		return loginTime;
	}

	public void setLoginTime(Timestamp loginTime)
	{
		this.loginTime = loginTime;
	}

	public User getUser()
	{
		return user;
	}

	public void setUser(User user)
	{
		this.user = user;
	}
}
